<!Doctype html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <script th:src="@{/jquery-1.11.3.min.js}"></script>
    <link th:href="@{/bootstrap-4.5.0-dist/css/bootstrap.css}" rel="stylesheet">
    <script th:src="@{/jquery/jqPaginator.js}"></script>
</head>

<body>
    <div class="container">

        <h3 class="text-center" th:text="${name}+销售单"></h3><br>

        <table class="table">
            <tr><th>员工编号</th>
                <th>员工名字</th>
                <th>性别</th>
                <th>电话</th>
                <th>房屋名</th>
                <th>房屋地址</th>
                <th>房屋面积</th>
                <th>户型</th>
                <th>房屋售价</th>
                <th>年</th>
                <th>月</th>
            </tr>

            <tr th:each="one:${achievement}">
                <td th:text="${one.user.id}" ></td>
                <td th:text="${one.user.name}"></td>
                <td th:text="${one.user.sex}"></td>
                <td th:text="${one.user.phone}"></td>
                <td th:text="${one.house.housename}"></td>
                <td th:text="${one.house.houseaddress}"></td>
                <td th:text="${one.house.housesize}+平方"></td>
                <td th:text="${one.house.housetype}"></td>
                <td th:text="${one.house.houseprice}+万元"></td>
                <td th:text="${one.year}"></td>
                <td th:text="${one.mounth}"></td>
            </tr>
          <!--  <tr>
                <td colspan="8">
                    <div class="page">
                        <p>当前<span th:text="${achievement.getNumber()} + 1"></span>页,总<span th:text="${achievement.totalPages}"></span>页
                            共<span th:text="${achievementF.totalElements}"></span>条记录
                            <a th:href="@{/ac/allac/{id}}">首页</a>
                            <a th:href="@{/ac/allac/{id}(pageNum = ${achievement.hasPrevious()} ? ${achievement.getNumber() } : 1)}">上一页</a>
                            <a th:href="@{/ac/allac/{id}(pageNum = ${achievement.hasNext()} ? ${achievement.getNumber()} + 2 : ${achievement.totalPages})}">下一页</a>
                            <a th:href="@{/ac/allac/{id}(pageNum = ${achievement.totalPages})}">尾页</a></p>
                    </div>

                </td>


            </tr>-->
        </table>
    </div>
</body>
</html>